package org.jeecg.modules.sanitation2.vo;

import java.util.List;
import org.jeecg.modules.sanitation2.entity.LwgyScoreSanitation;
import org.jeecg.modules.sanitation2.entity.LwgyTargetType;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 卫生打分
 * @Author: jeecg-boot
 * @Date:   2021-04-29
 * @Version: V1.0
 */
@Data
@ApiModel(value="lwgy_score_sanitationPage对象", description="卫生打分")
public class LwgyScoreSanitationPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**校区*/
	@Excel(name = "校区", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "校区")
	private String campusId;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "楼宇")
	private String buildingId;
	/**单元*/
	@Excel(name = "单元", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "单元")
	private String unitId;
	/**楼层*/
	@Excel(name = "楼层", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "楼层")
	private String layerId;
	/**房间*/
	@Excel(name = "房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "房间")
	private String roomId;
	/**打分批次*/
	@Excel(name = "打分批次", width = 15,dictTable = "lwgy_setting_sanitation", dicText = "batch_name", dicCode = "id")
	@ApiModelProperty(value = "打分批次")
	private String scaleBatches;
	/**打分指标*/
	@Excel(name = "打分指标", width = 15,dicCode = "sanitation_target_type")
    @Dict(dicCode = "sanitation_target_type")
	@ApiModelProperty(value = "打分指标")
	private String targetType;
	/**指标名称*/
	@Excel(name = "指标名称", width = 15)
	@ApiModelProperty(value = "指标名称")
	private String targetName;
	/**打分方式*/
	@Excel(name = "打分方式", width = 15)
    @Dict(dicCode = "sanitation_score_way")
	@ApiModelProperty(value = "打分方式")
	private String scoreWay;
	/**总计得分*/
	@Excel(name = "总计得分", width = 15)
	@ApiModelProperty(value = "总计得分")
	private String totalScore;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;
	/**辅导员*/
	@Excel(name = "辅导员", width = 15)
	@ApiModelProperty(value = "辅导员")
	private String instructor;

	@ExcelCollection(name="打分指标")
	@ApiModelProperty(value = "打分指标")
	private List<LwgyTargetType> lwgyTargetTypeList;

	/**照片*/
	@Excel(name = "照片", width = 15)
	@ApiModelProperty(value = "照片")
	private String scenePhoto;



}
